//声明接口地址
const baseurl = {
    totalInfo: '/api/home/dataCount', //首页-销量额等数据统计
    projectList: '/api/goods/projectList', //产品列表
    searchProductList: '/api/goods/search', //产品列表搜索
    deleteProduct: '/api/goods/deleteItemById', //根据id删除产品列表

    queryCategoryItemByCid:'/api/goods/itemCategory/selectItemCategoryByParentId', //查询商品的类目列表

    uploadUrl:'/api/upload',  //图片服务器的上传地址 默认存储在upload文件夹下
    
    addProduct:'/api/goods/item/insertTbItem', //添加商品 

    updateProduct:'/api/goods/item/updateTbItem',  //修改商品

    batchDelete:'/api/goods/batchDelete', //批量删除选中的商品

}
export const uploadUrl = '/api/upload';
export const host = 'http://localhost:9898' 
export default baseurl